package com.dt.dubai.core.comm;

/**
 * 页面动态查询条件信息
 */

public class PageCondition {

    String key; // 字段名
    String value; // 查询过滤值
    String operate; // 连接符号

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        key = (String) SqlUtils.clearSqlCode(key);
        key = (String) SqlUtils.clearWebCode(key);
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        value = (String) SqlUtils.clearSqlCode(value);
        value = (String) SqlUtils.clearWebCode(value);
        this.value = value;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        operate = (String) SqlUtils.clearSqlCode(operate);
        operate = (String) SqlUtils.clearWebCode(operate);
        this.operate = operate;
    }
}
